package com.leezk.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leezk.order.dto.TagMapperDto;
import com.leezk.order.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author leotong
 * @since 2022-03-16
 */
public interface IDictionaryService extends IService<Dictionary> {

    Page<Dictionary> getDictionarys(Page<Dictionary> page);

    List<Dictionary> getValidDic();

    Boolean addDic(Dictionary dictionary);

    Boolean deleteDic(int id);

    List<TagMapperDto> getUseDic(int studentId);
}
